<?php
namespace  Admin\Controller;
use Think\Controller;
class AuthController extends Controller
{
    public function  _initialize()
    {
        if (is_null(session('blog_user'))) redirect(U('Admin/login'));
    }
}